Meaning Accumulator variable
What does Accumulator variable mean? Below you find one meaning for the word Accumulator variable You can also add a definition of Accumulator variable yourself

1

0 Thumbs up   0 Thumbs down

Accumulator variable


An accumulator variable is a variable that is declared outside of a loop and used within a loop to keep track of information throughout all loop iterations. For example, you could create a 'total' variable outside of a loop and then add values to this variable from within the loop to create a running total of values. total = 0 while True: [..]
Source: cims.nyu.edu (offline)




<< Reverse compensation Augmented assignment operators >>